<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<!--定义导航片段-->
<div th:fragment="header">
        <div class="navbar navbar-fixed-top">
            <div class="navbar-inner">
                <div class="container-fluid">
                    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </a>
                    <a class="brand" href="#">电子病历管理系统</a>
                    <div class="btn-group pull-right">
                        <a class="btn" href="#"><i class="icon-user"></i> Admin</a>
                        <a class="btn dropdown-toggle" data-toggle="dropdown" href="#">
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu">
                            <li><a href="#">Profile</a></li>
                            <li class="divider"></li>
                            <li><a href="#">Logout</a></li>
                        </ul>
                    </div>
                    <div class="nav-collapse">
                        <ul class="nav">
                            <li><a th:href="@{/}">首页</a></li>
<!--                            <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Users <b class="caret"></b></a>-->
<!--                                <ul class="dropdown-menu">-->
<!--                                    <li><a th:href="@{/new-user}">New User</a></li>-->
<!--                                    <li class="divider"></li>-->
<!--                                    <li><a th:href="@{/users}">Manage Users</a></li>-->
<!--                                </ul>-->
<!--                            </li>-->
<!--                            <li class="dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown">Roles <b class="caret"></b></a>-->
<!--                                <ul class="dropdown-menu">-->
<!--                                    <li><a th:href="@{new-role}">New Role</a></li>-->
<!--                                    <li class="divider"></li>-->
<!--                                    <li><a th:href="@{roles}">Manage Roles</a></li>-->
<!--                                </ul>-->
<!--                            </li>-->
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>

</html>